package org.despair2D.ui.puppet 
{
	import flash.geom.Point;
	import org.despair2D.core.EventDispatcherAdvance;
	import org.despair2D.ui.core.Component;
	import org.despair2D.ui.core.FusionComp;
	import org.despair2D.ui.Fusion;
	
	import org.despair2D.core.ns_despair;
	use namespace ns_despair;
	

public class PuppetCompBase extends Component
{
	
	public function PuppetCompBase( proxy:IPuppet )
	{
		m_proxy            =  proxy;
		m_eventDispatcher  =  new EventDispatcherAdvance(m_proxy);
	}
	
	
	
	final ns_despair function get fusion() : Fusion
	{
		return m_fusion.m_proxy as Fusion;
	}
	
	
	ns_despair function makeTransform() : void
	{
	}
	
	
	ns_despair override function recycle() : void
	{
		super.recycle();
		m_fusion = null;
	}
	
	
	
	ns_despair var m_fusion:FusionComp;
	
}

}